<?php 
$this->load->library("urlutility");
if(count($ajax_bestselling)>0){ 
  			foreach($ajax_bestselling as $listbestselling){?>

<div class="fl w269 pdl20"> <img src="<?php echo base_url(); ?>public/images/banner2_03.jpg" width="100%" height="115"/>
  <h3 class="ff_museo700 mgt0 mgb0 blue f18 h22 ov_fl_hidden"><?php echo $listbestselling["name"]; ?></h3>
  <div class="fl pdt1">
    <?php 	  	
				for($i=1;$i<=intval($listbestselling["numberstarreview"]);$i++){ ?>
    <img src="<?php echo base_url(); ?>public/images/star_01.png" width="12" height="11"/>
    <?php }
				if(intval($listbestselling["numberstarreview"])<5){
					for($i=1;$i<=5-intval($listbestselling["numberstarreview"]);$i++){?>
    <img src="<?php echo base_url(); ?>public/images/hidden-star-05.png" width="12" height="11"/>
    <?php }
				}
		  ?>
  </div>
  &nbsp;<?php echo count($listbestselling["bestsellingreview"]); ?> reviews
  <p class="f11 mgt6 mgb10 ov_fl_hidden h42"><?php echo $listbestselling["description"]; ?></p>
  <div class="item bgr_gray pdt6 pdb6"> <span class="fl blue pdt4 pdl5">Price from</span> <strong class="fl pdl20 orange ff_museo700 f18"><?php if($listbestselling["priceminest"]==0)echo "N/A";else echo 'US $'.$listbestselling["priceminest"] ?></strong> <a class="fr ff_museo500 white bgr_143167 pdt5 pdl6 pdr6 pdb3 mgr5" href="<?php echo $this->urlutility->gethotel($listbestselling["id"],$listbestselling["name"]); ?>">DETAILS</a> </div>
</div>
<?php }}?>
